/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.synjones.zeus.model.ykt.common;

/**
 * @author liubinqiang
 * @date 2017-6-3 14:26:03
 * @version V1.0
 * @desc
 */
public class YktBaseRespBean {

    private String retcode;
    private String errmsg;

    public boolean statusOk() {
        return "0".equals(this.getRetcode());
    }

    /**
     * @return the retcode
     */
    public String getRetcode() {
        return retcode;
    }

    /**
     * @param retcode the retcode to set
     */
    public void setRetcode(String retcode) {
        this.retcode = retcode;
    }

    /**
     * @return the errmsg
     */
    public String getErrmsg() {
        return errmsg;
    }

    /**
     * @param errmsg the errmsg to set
     */
    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

}
